package com.example.springstudy.service;

import com.example.springstudy.dao.User;

import java.util.List;

public interface UserService {

    int create(String name,Integer age);

    List<User> getByName(String name);

    int deleteByName(String name);

    int getAllUsers();

    int deleteAllUsers();


}
